package com.learning.walter.pattern.prototype;

public class TestPaper implements Cloneable {

	private String questionOne = "How to implement one prototype pattern?";

	private String questionTwo = "If your mom and girlfriend fall into the river at the same time, who do you save first?";

	private String questionThree = "One plus one is?";

	private String questionFour = "Who is the most handsome person in the earth?";

	@Override
	public TestPaper clone() {
		try {
			return (TestPaper) super.clone();
		} catch (CloneNotSupportedException e) {
			e.printStackTrace();
		}
		return null;
	}

	public String getQuestionFour() {
		return questionFour;
	}

	public String getQuestionOne() {
		return questionOne;
	}

	public String getQuestionThree() {
		return questionThree;
	}

	public String getQuestionTwo() {
		return questionTwo;
	}

	public void setQuestionFour(String questionFour) {
		this.questionFour = questionFour;
	}

	public void setQuestionOne(String questionOne) {
		this.questionOne = questionOne;
	}

	public void setQuestionThree(String questionThree) {
		this.questionThree = questionThree;
	}

	public void setQuestionTwo(String questionTwo) {
		this.questionTwo = questionTwo;
	}

	@Override
	public String toString() {
		return "TestPaper [questionOne=" + questionOne + ", questionTwo=" + questionTwo + ", questionThree="
				+ questionThree + ", questionFour=" + questionFour + "]";
	}

}
